package us.icitap.cm.ui.pcase;

import us.icitap.cm.business.AppListTypeEnum;
import us.icitap.cm.business.entities.EventReport;
import us.icitap.cm.business.entities.Report;
import us.icitap.cm.listeners.ReportListener;
import us.icitap.cm.ui.custom.CustBeanFieldGroup;
import us.icitap.cm.ui.custom.CustComboBox;
import us.icitap.cm.ui.custom.CustDateField;
import us.icitap.cm.ui.custom.CustTwinColSelect;
import us.icitap.cm.ui.custom.CustomFormLayout;
import us.icitap.cm.ui.policecase.PlaceField;
import us.icitap.cm.ui.shared.PoliceCodeField;
import us.icitap.cm.ui.shared.ReportLayout;

import com.vaadin.ui.CheckBox;
import com.vaadin.ui.VerticalLayout;

public class ProcedurialActDataReport  extends ReportLayout {

	
	private CustDateField fromDate = new CustDateField();
	private CustDateField toDate = new CustDateField("deri: ");

	private CheckBox domesticViolenceChekBox = new CheckBox("Dhune ne familje");
	private CheckBox remainAttemptCheckBox = new CheckBox("Mbetur ne tentative");
	private CustComboBox modusOperandusSelect = new CustComboBox(AppListTypeEnum.ModusOperandus.getCaption());
	private CustTwinColSelect toolUsedTwin = new CustTwinColSelect(AppListTypeEnum.ToolUsed.getCaption());
	private CustComboBox motivationSelect = new CustComboBox(AppListTypeEnum.Motivation.getCaption());
	private CustTwinColSelect consequencesTwin = new CustTwinColSelect(AppListTypeEnum.Consequence.getCaption());

	
	private PoliceCodeField policeCodeField; 
	
	private PlaceField placeField = new PlaceField();
	
	private final CustBeanFieldGroup<EventReport> binder = new CustBeanFieldGroup<EventReport>(EventReport.class);

	final CustomFormLayout cfl = new CustomFormLayout("650px", "Raport Ngjarje", "Reset", "Ruaj");
	
	private ReportListener listener;
	
	
	@Override
	public void loadReport(Report report, boolean editable) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addReportListener(ReportListener listener) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addReport(Report report) {
		// TODO Auto-generated method stub
		
	}

}
